define(function(require,exports,module){
    require("jquery");

    $(".classroomname").on("click",function(){
        mui.prompt("","请输入直播间名称","直播间名称",["取消","确定"],function(){

        })
    })
    var dtPicker = new mui.DtPicker({
        type: "datetime",
        "customData": {
            "y": [
                { value: "2017", text: "2017" },
                { value: "2018", text: "2018" },
                { value: "2019", text: "2019" },
                { value: "2020", text: "2020" }
            ]
        }
    });
    $(".starttime").on("tap",function(){
        dtPicker.show(function(selectItems){
            $(".starttime").text(selectItems.text)
            console.log(selectItems)
        });
    })
    $(".money").on("click",function(){
        mui.prompt("","请设置费用金额","费用金额",["取消","确定"],function(){

        })
    })

    require("layer");
    //主持人
    $(".teachers").on("click",function(){
        layer.open({
            title:false,
            content:$("#teachers").html(),
            btn:["确定","取消"]
        })
    })
    // 主持人介绍
    $(".introduce").on("click",function(){
        layer.open({
            title:false,
            content:$("#introduce").html(),
            btn:["确定","取消"]
        })
    })
})
